<p>
  <b>User:</b>
  <%=h @billing_order.user_id %>
</p>

<p>
  <b>Status:</b>
  <%=h @billing_order.status %>
</p>

<p>
  <b>Action:</b>
  <%=h @billing_order.action %>
</p>

<p>
  <b>Ref operation:</b>
  <%=h @billing_order.ref_operation_id %>
</p>

<p>
  <b>Note:</b>
  <%=h @billing_order.note %>
</p>

<p>
  <b>Ip address:</b>
  <%=h @billing_order.ip_address %>
</p>

<p>
  <b>Account:</b>
  <%=h @billing_order.account_id %>
</p>

<p>
  <b>Amount:</b>
  <%=h @billing_order.amount %>
</p>

<p>
  <b>Amount tax:</b>
  <%=h @billing_order.amount_tax %>
</p>

<p>
  <b>Amount shipping:</b>
  <%=h @billing_order.amount_shipping %>
</p>

<p>
  <b>Amount total:</b>
  <%=h @billing_order.amount_total %>
</p>

<p>
  <b>Created at:</b>
  <%=h @billing_order.created_at %>
</p>

<p>
  <b>Updated at:</b>
  <%=h @billing_order.updated_at %>
</p>

<hr>
<h1>Listing billing_transactions</h1>

<table>
  <tr>
    <th>Order Id</th>
    <th>Status</th>
    <th>Kind</th>
    <th>Ammount</th>
    <th>auth_id approval code</th>
    <th>message</th>
    <th>note</th>
    <th>Created at</th>
    <th>Updated at</th>
  </tr>

<% @billing_transactions.each do |tr| %>
  <tr>
    <td><%=h tr.order_id %></td>
    <td><%=h tr.status %></td>
    <td><%=h tr.kind %></td>
    <td><%=h tr.amount %></td>
    <td><%=h tr.auth_id %></td>
    <td><%=h tr.message %></td>
    <td><%=h tr.note %></td>

    <td><%=h tr.created_at %></td>
    <td><%=h tr.updated_at %></td>
  </tr>
<% end %>
</table>

<br />


<%= link_to 'Edit', edit_billing_order_path(@billing_order) %> |
<%= link_to 'Back', billing_orders_path %>